<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Acceptance extends CI_Controller {
	
	/** 
	 *	Acceptance Page
	 *	异常限设置页面
	 *
	 */

	public function __construct() {
		parent::__construct();
		$this->load->model('acceptance_model');
	}
	
	public function index() {
		$header_data['title'] = '质量控制';

		// 全国异常限从acceptance_model获取, 传递给views/qa/index

		$data['qa'] = $this->acceptance_model->get_national_protected_nonesightseeing_acceptance();

		$this->load->view('templates/header', $header_data);
		$this->load->view('qa/index', $data);
		$this->load->view('templates/footer');
		
	}

}

/* End of file acceptance.php */
/* Location: ./application/controllers/acceptance.php */